/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.beans;

/**
 *
 * @author mirica
 */
public class Stock extends Peca {
    
   private static final long serialVersionUID = 1L;
    private int idStockPeca;
    private int codiPeca;
    private int stock;
    private int idTaller;
    private int stockMinim;

    public Stock() {
    }

    public Stock(int idStockPeca, int codiPeca, int stock, int idTaller, int stockMinim) {
        super();
        
        this.idStockPeca = idStockPeca;
        this.codiPeca = codiPeca;
        this.stock = stock;
        this.idTaller = idTaller;
        this.stockMinim = stockMinim;
    }

    public int getIdStockPeca() {
        return idStockPeca;
    }

    public int getCodiPeca() {
        return codiPeca;
    }

    public int getStock() {
        return stock;
    }

    public int getIdTaller() {
        return idTaller;
    }

    public int getStockMinim() {
        return stockMinim;
    }

    public void setIdStockPeca(int idStockPeca) {
        this.idStockPeca = idStockPeca;
    }

    public void setCodiPeca(int codiPeca) {
        this.codiPeca = codiPeca;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public void setIdTaller(int idTaller) {
        this.idTaller = idTaller;
    }

    public void setStockMinim(int stockMinim) {
        this.stockMinim = stockMinim;
    }
}
